Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Lights


Q3Light_GetBrightness

You can use the Q3Light_GetBrightness function to get the current brightness of a light.

TQ3Status Q3Light_GetBrightness (
TQ3LightObject light, 
float *brightness);
light
A light object.
brightness
On exit, the current brightness of the specified light.
DESCRIPTION
The Q3Light_GetBrightness function returns, in the brightness parameter, a value that indicates the current brightness of the light specified by the light parameter. The value should be between 0.0 and 1.0, inclusive.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996